package by.semerikov.dao;

public class Person {
	private Integer id;
	private String name;
	private String surname;
	private String post;
	private String login;
	private String password;

	public Person() {
	}
	
	public Person(Person p) {
		this.id = p.id;
		this.name = p.name;
		this.surname = p.surname;
		this.post = p.post;
		this.login = p.login;
		this.password = p.password;
	}
	
	public Person(Integer id, String name, String surname, String post,
			String login, String password) {
		super();
		this.id = id;
		this.name = name;
		this.surname = surname;
		this.post = post;
		this.login = login;
		this.password = password;
	}



	public Integer getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
